<template>
  <el-card class="calendar-event-card calendar-event-card-view" v-show="visible">
    <div slot="header" class="clearfix">
      <span>会议室申请信息</span>
      <div class="header-button">
        <i class="el-icon-close" title="关闭" @click="doCancelEdit"></i>
      </div>
    </div>
    <el-row>
      <el-col :span="2">
        <i class="el-icon-c-scale-to-original" title="名称"></i>
      </el-col>
      <el-col :span="22">
        {{ model.name }}
      </el-col>
    </el-row>
    <el-row style="padding-top:5px">
      <el-col :span="2">
        <i class="el-icon-date" title="日期"></i>
      </el-col>
      <el-col :span="22">
        {{ model.begintime }}
        至
        {{ model.endtime }}
      </el-col>
    </el-row>
    <el-row style="padding-top:5px">
      <el-col :span="2">
        <i class="el-icon-user" title="联系人"></i>
      </el-col>
      <el-col :span="22">
        {{ model.username }}
      </el-col>
    </el-row>
    <el-row style="padding-top:5px">
      <el-col :span="2">
        <i class="el-icon-phone" title="电话"></i>
      </el-col>
      <el-col :span="22">
        {{ model.telephone }}
      </el-col>
    </el-row>
  </el-card>
</template>

<script>
/** VUE配置 */
export default {
  components: {},
  data() {
    return {
      model: {},
      visible: false
    }
  },
  methods: {
    loaded() {},
    doCancelEdit() {
      this.visible = false
    }
  },
  created() {}
}
</script>
<style scoped lang="scss">
.tag-container {
  .el-tag {
    margin-right: 5px;
    margin-bottom: 5px;
  }
}
.color-block {
  display: inline-block;
  height: 15px;
  width: 15px;
}
.input-with-select {
  .el-select {
    width: 100px;
  }
}
.header-button {
  float: right;
  i {
    cursor: pointer;
    &.el-icon-star-on {
      color: #f56c6c;
    }
  }
}
</style>
